package com.complaint.dao;

import com.complaint.pojo.Complaint;
import com.complaint.pojo.Manager;

import java.util.List;

/**
 * UserDAO 对用户表进行增删改查的接口
 *
 * */
public interface ManagerDAO {
    int add(Manager manager);
    List<Manager> findByName(String username);
    int findId(String username);
    List<Complaint> findForMain();
}